/*搜索*/
function doSearch(serverpath){ 
	var keyWord = $("#vKey").val();
	var columnId = $("#search_columnId").val();
	var channel = $("#search_channel").val();
	if (keyWord == undefined) {
		keyWord="";
	}
	if(/[`~%!@#^=''?~！@#￥ 　……&——‘”“'？*()（），,。.、《》<>]/.test(keyWord)){ 
	  common_a_div("搜索关键字不可包含特殊字符"); 
	  return false;
    }
	if (columnId == undefined) { 
		columnId="";
	}
	if (channel == undefined) {
		channel="";
	} 
	window.location.href = serverpath+"/search/search.action?keyWord="+keyWord+"&columnId="+columnId+"&channel="+channel;
}
/*点击热词搜索*/
function hot_search(hot_key,serverpath){
	$("#vKey").val(hot_key);
	doSearch(serverpath);
}
/*重新搜索*/
function re_doSearch(serverpath){
	var keyWord = $("#re_vKey").val(); 
	var columnId = $("#re_search_columnId").val();
	var channel = $("#re_search_channel").val();
	if (keyWord == undefined) {
		keyWord="";
	}
	if(/[`~%!@#^=''?~！@#￥ 　……&——‘”“'？*()（），,。.、《》<>]/.test(keyWord)){ 
	  common_a_div("搜索关键字不可包含特殊字符"); 
	  return false;
	}
	if (columnId == undefined) { 
		columnId="";
	}
	if (channel == undefined) {
		channel="";
	} 
	window.location.href = serverpath+"/search/search.action?keyWord="+keyWord+"&columnId="+columnId+"&channel="+channel;
}